import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)

Vue.config.productionTip = false

//读取上传文件的基础路径前缀,保存为vue全局变量
import URLENV from '@/http/BaseUrl'
Vue.prototype.UPLOADURL = URLENV.UPLOADURL
//如上写法,UPLOADURL成为了vue 对象的成员属性,在组建随意访问

new Vue({
  router,
  store,
  render: h => h(App),
}).$mount('#app')
